﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace System.Windows.BidiControls
{
    [TemplateVisualState(Name="ContentFocused", GroupName="FocusStates"), TemplateVisualState(Name="MouseOver", GroupName="CommonStates"), TemplateVisualState(Name="Focused", GroupName="FocusStates"), TemplateVisualState(Name="Checked", GroupName="CheckStates"), TemplateVisualState(Name="Unchecked", GroupName="CheckStates"), TemplateVisualState(Name="Indeterminate", GroupName="CheckStates"), TemplateVisualState(Name="Pressed", GroupName="CommonStates"), TemplateVisualState(Name="Disabled", GroupName="CommonStates"), TemplateVisualState(Name="Unfocused", GroupName="FocusStates"), TemplateVisualState(Name="Normal", GroupName="CommonStates")]
    public class CheckBox : System.Windows.Controls.CheckBox
    {
        public CheckBox()
        {
            DefaultStyleKey = this.GetType(); //typeof(System.Windows.Controls.CheckBox);
            this.VerticalAlignment = VerticalAlignment.Center;
            //BidiContentControlConfigurationHelper.Configure(this);
        }
        protected override Size MeasureOverride(Size availableSize)
        {
            return base.MeasureOverride(availableSize);
        }
    }
}
